package com.hq.fxh.No0_ChengQu.Activity;

import android.app.Application;

import com.hq.fxh.Utils.HttpHelper;
import com.hq.fxh.Utils.ScreenUtils;

import cn.jiguang.analytics.android.api.JAnalyticsInterface;
import cn.jiguang.share.android.api.JShareInterface;
import cn.jpush.android.api.JPushInterface;
import cn.jpush.im.android.api.JMessageClient;

import static com.tencent.upload.common.Global.context;

/**
 * Created by admin on 2017/8/3.
 */

public class MyAPP extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        ScreenUtils.getInfo(this);
        JAnalyticsInterface.setDebugMode(true);
        JAnalyticsInterface.init(this);

        JShareInterface.setDebugMode(true);
        JShareInterface.init(this);

        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);

        JMessageClient.setDebugMode(true);
        JMessageClient.init(this);

        HttpHelper.initialize(this);
    }
}
